package com.yict.csms.resourceplan.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
/**
 * 
 * @author tortoi.huang
 *
 */
@Entity
@Table(name = "CSMS_CAR_STABLE_NEEDHOUR")
public class CarStableNeedhour {

	@Id
	@Column(name = "NEEDHOURID")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "csms_car_stable_needhour_seq")
	@SequenceGenerator(name = "csms_car_stable_needhour_seq", sequenceName = "SEQ_CSMS_CAR_STABLE_NEEDHOUR", allocationSize = 1, initialValue = 1)
	private Long  needhourid;

	@ManyToOne
	@JoinColumn(name = "TIMEID")
	private CarTime  carTime;

	@Column(name = "DATADICTID")
	private String datadictid;

	@Column(name = "TIMESEGMENT1")
	private double  timesegment1;

	@Column(name = "TIMESEGMENT2")
	private double  timesegment2;

	@Column(name = "TIMESEGMENT3")
	private double  timesegment3;

	@Column(name = "TIMESEGMENT4")
	private double  timesegment4;

	@Column(name = "TIMESEGMENT5")
	private double  timesegment5;

	@Column(name = "TIMESEGMENT6")
	private double  timesegment6;

	@Column(name = "TIMESEGMENT7")
	private double  timesegment7;

	@Column(name = "TIMESEGMENT8")
	private double  timesegment8;

	@Column(name = "TIMESEGMENT9")
	private double  timesegment9;

	@Column(name = "TIMESEGMENT10")
	private double  timesegment10;

	@Column(name = "TIMESEGMENT11")
	private double  timesegment11;

	@Column(name = "TIMESEGMENT12")
	private double  timesegment12;

	@Column(name = "TIMESEGMENT13")
	private double  timesegment13;

	@Column(name = "TIMESEGMENT14")
	private double  timesegment14;

	@Column(name = "TIMESEGMENT15")
	private double  timesegment15;

	@Column(name = "TIMESEGMENT16")
	private double  timesegment16;

	@Column(name = "REMARKS")
	private String remarks;

	@Column(name = "CREATEPERSON")
	private Long  createperson;

	@Column(name = "CREATEDATE")
	private Date createdate;

	@Column(name = "UPDATEPERSON")
	private Long  updateperson;

	@Column(name = "UPDATEDATE")
	private Date updatedate;

	public Long getNeedhourid() {
		return needhourid;
	}

	public void setNeedhourid(Long needhourid) {
		this.needhourid = needhourid;
	}

	public CarTime getCarTime() {
		return carTime;
	}

	public void setCarTime(CarTime carTime) {
		this.carTime = carTime;
	}

	public String getDatadictid() {
		return datadictid;
	}

	public void setDatadictid(String datadictid) {
		this.datadictid = datadictid;
	}

	public double getTimesegment1() {
		return timesegment1;
	}

	public void setTimesegment1(double timesegment1) {
		this.timesegment1 = timesegment1;
	}

	public double getTimesegment2() {
		return timesegment2;
	}

	public void setTimesegment2(double timesegment2) {
		this.timesegment2 = timesegment2;
	}

	public double getTimesegment3() {
		return timesegment3;
	}

	public void setTimesegment3(double timesegment3) {
		this.timesegment3 = timesegment3;
	}

	public double getTimesegment4() {
		return timesegment4;
	}

	public void setTimesegment4(double timesegment4) {
		this.timesegment4 = timesegment4;
	}

	public double getTimesegment5() {
		return timesegment5;
	}

	public void setTimesegment5(double timesegment5) {
		this.timesegment5 = timesegment5;
	}

	public double getTimesegment6() {
		return timesegment6;
	}

	public void setTimesegment6(double timesegment6) {
		this.timesegment6 = timesegment6;
	}

	public double getTimesegment7() {
		return timesegment7;
	}

	public void setTimesegment7(double timesegment7) {
		this.timesegment7 = timesegment7;
	}

	public double getTimesegment8() {
		return timesegment8;
	}

	public void setTimesegment8(double timesegment8) {
		this.timesegment8 = timesegment8;
	}

	public double getTimesegment9() {
		return timesegment9;
	}

	public void setTimesegment9(double timesegment9) {
		this.timesegment9 = timesegment9;
	}

	public double getTimesegment10() {
		return timesegment10;
	}

	public void setTimesegment10(double timesegment10) {
		this.timesegment10 = timesegment10;
	}

	public double getTimesegment11() {
		return timesegment11;
	}

	public void setTimesegment11(double timesegment11) {
		this.timesegment11 = timesegment11;
	}

	public double getTimesegment12() {
		return timesegment12;
	}

	public void setTimesegment12(double timesegment12) {
		this.timesegment12 = timesegment12;
	}

	public double getTimesegment13() {
		return timesegment13;
	}

	public void setTimesegment13(double timesegment13) {
		this.timesegment13 = timesegment13;
	}

	public double getTimesegment14() {
		return timesegment14;
	}

	public void setTimesegment14(double timesegment14) {
		this.timesegment14 = timesegment14;
	}

	public double getTimesegment15() {
		return timesegment15;
	}

	public void setTimesegment15(double timesegment15) {
		this.timesegment15 = timesegment15;
	}

	public double getTimesegment16() {
		return timesegment16;
	}

	public void setTimesegment16(double timesegment16) {
		this.timesegment16 = timesegment16;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Long getCreateperson() {
		return createperson;
	}

	public void setCreateperson(Long createperson) {
		this.createperson = createperson;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Long getUpdateperson() {
		return updateperson;
	}

	public void setUpdateperson(Long updateperson) {
		this.updateperson = updateperson;
	}

	public Date getUpdatedate() {
		return updatedate;
	}

	public void setUpdatedate(Date updatedate) {
		this.updatedate = updatedate;
	}
}
